body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
.container a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}
.container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}
header {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 20px;
}
.category-boxes {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}
.category-box {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    width: 30%;
    transition: all 0.3s ease;
}
.category-box:hover {
    background: #f4f4f4;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.main-content {
    padding: 20px;
    border: 1px solid #ddd;
    min-height: 300px;
}
.hidden {
    display: none;
}
#question-form {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #eee;
    background: #f9f9f9;
}
textarea, input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}
button {
    padding: 10px 15px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}
button:hover {
    background: #555;
}
.question-item {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    background: #f9f9f9;
}
.question-content {
    font-weight: bold;
    margin-bottom: 10px;
}
.question-answer, .question-analysis {
    margin: 5px 0;
    padding: 8px;
    background: #fff;
    border-radius: 3px;
}
.question-actions {
    margin-top: 10px;
}
.add-question-btn {
    margin: 20px 0;
    background: #4CAF50;
}
.delete-btn {
    background: #f44336;
}
#loading {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}
.question-content, .question-answer, .question-analysis {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.question-difficulty {
    margin: 5px 0;
    padding: 5px;
    font-size: 14px;
    color: #333;
}